package common.com.androidbase.download;

import android.app.Application;
import android.content.Context;

import com.android.sohu.sdk.common.toolbox.LogUtils;
import com.common.sdk.net.download.DownloadManagerEx;
import com.common.sdk.net.download.util.DownloadLog;

public class DownloadApplition {
    private static Context mAppContext;
    private static DownloadApplition mInstance;

    public static void onCreate(Context context) {
//        mInstance = this;
        LogUtils.setDebugMode(true);
        mAppContext = context;
        long time1 = System.currentTimeMillis();
        DownloadManagerEx.init(context);
        DownloadManagerEx.getInstance();
        long time2 = System.currentTimeMillis();
        DownloadLog.debug("DownloadApplition time" + (time2 - time1));
    }
}
